<%@ page import="org.hr.xtime.user.Account" %>



<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'employee', 'error')} required">
	<label for="employee">
		<g:message code="account.employee.label" default="Employee" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="employee" name="employee.id" from="${org.hr.xtime.user.Employee.list()}" optionKey="id" required="" value="${accountInstance?.employee?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'hoursPerDay_1', 'error')} required">
	<label for="hoursPerDay_1">
		<g:message code="account.hoursPerDay_1.label" default="Hours Per Day1" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="hoursPerDay_1" required="" value="${fieldValue(bean: accountInstance, field: 'hoursPerDay_1')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'hoursPerDay_2', 'error')} required">
	<label for="hoursPerDay_2">
		<g:message code="account.hoursPerDay_2.label" default="Hours Per Day2" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="hoursPerDay_2" required="" value="${fieldValue(bean: accountInstance, field: 'hoursPerDay_2')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'hoursPerDay_3', 'error')} required">
	<label for="hoursPerDay_3">
		<g:message code="account.hoursPerDay_3.label" default="Hours Per Day3" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="hoursPerDay_3" required="" value="${fieldValue(bean: accountInstance, field: 'hoursPerDay_3')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'hoursPerDay_4', 'error')} required">
	<label for="hoursPerDay_4">
		<g:message code="account.hoursPerDay_4.label" default="Hours Per Day4" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="hoursPerDay_4" required="" value="${fieldValue(bean: accountInstance, field: 'hoursPerDay_4')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'hoursPerDay_5', 'error')} required">
	<label for="hoursPerDay_5">
		<g:message code="account.hoursPerDay_5.label" default="Hours Per Day5" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="hoursPerDay_5" required="" value="${fieldValue(bean: accountInstance, field: 'hoursPerDay_5')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'hoursPerDay_6', 'error')} required">
	<label for="hoursPerDay_6">
		<g:message code="account.hoursPerDay_6.label" default="Hours Per Day6" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="hoursPerDay_6" required="" value="${fieldValue(bean: accountInstance, field: 'hoursPerDay_6')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'hoursPerDay_7', 'error')} required">
	<label for="hoursPerDay_7">
		<g:message code="account.hoursPerDay_7.label" default="Hours Per Day7" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="hoursPerDay_7" required="" value="${fieldValue(bean: accountInstance, field: 'hoursPerDay_7')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'vacationDaysFromLastYear', 'error')} required">
	<label for="vacationDaysFromLastYear">
		<g:message code="account.vacationDaysFromLastYear.label" default="Vacation Days From Last Year" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="vacationDaysFromLastYear" required="" value="${fieldValue(bean: accountInstance, field: 'vacationDaysFromLastYear')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'vacationDaysPerYear', 'error')} required">
	<label for="vacationDaysPerYear">
		<g:message code="account.vacationDaysPerYear.label" default="Vacation Days Per Year" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="vacationDaysPerYear" required="" value="${fieldValue(bean: accountInstance, field: 'vacationDaysPerYear')}"/>
</div>

